home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume15 / cardfile / patch02 < prev    next >
Encoding:
Text File  |  1990-12-17  |  2.8 KB  |  124 lines

  1. Newsgroups: comp.sources.misc
  2. X-UNIX-From: dplace!pacbell!djl@PacBell.COM
  3. from: Dave Lampe <dplace!djl@PacBell.COM>
  4. subject: v15i106: Patch 2 to cardfile
  5. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  6.  
  7. Posting-number: Volume 15, Issue 106
  8. Submitted-by: Dave Lampe <dplace!djl@PacBell.COM>
  9. Archive-name: cardfile/patch02
  10.  
  11. One minor mistake in the Imakefile included in patch1 to cardfile posted
  12. last week. It wasn't included. So here it is.
  13. -- 
  14. Dave Lampe
  15. {ames | lll-tis | sun | pyramid}!pacbell!dplace!djl
  16. (415) 455-1571 (H)
  17.  
  18. ---- Cut Here and feed the following to sh ----
  19. #!/bin/sh
  20. # This is a shell archive (produced by shar 3.49)
  21. # To extract the files from this archive, save it to a file, remove
  22. # everything above the "!/bin/sh" line above, and type "sh file_name".
  23. #
  24. # made 12/13/1990 05:49 UTC by djl@dplace
  25. # Source directory /usr/src/cmd/cardfile.d
  26. #
  27. # existing files will NOT be overwritten unless -c is specified
  28. # This format requires very little intelligence at unshar time.
  29. # "if test", "echo", "true", and "sed" may be needed.
  30. #
  31. # This shar contains:
  32. # length  mode       name
  33. # ------ ---------- ------------------------------------------
  34. #   1292 -rw-r--r-- Imakefile
  35. #
  36. # ============= Imakefile ==============
  37. if test -f 'Imakefile' -a X"$1" != X"-c"; then
  38.     echo 'x - skipping Imakefile (File already exists)'
  39. else
  40. echo 'x - extracting Imakefile (Text)'
  41. sed 's/^X//' << 'SHAR_EOF' > 'Imakefile' &&
  42. X#if (defined(VaxArchitecture) && !defined(UltrixArchitecture)) || \
  43. X    (defined(RtArchitecture) && !defined(AIXArchitecture))
  44. XDEFINES=    -DBSD_RE -DTERMCAP -DBSD_TTY -DBSD_STRING\
  45. X        -DBSD_SIG -DSIGRTN=int
  46. XSYS_LIBRARIES=    -lcurses -ltermcap
  47. X#else
  48. X#  if defined(UltrixArchitecture)
  49. XDEFINES=    -DBSD_RE -DTERMCAP -DBSD_TTY -DBSD_STRING\
  50. X        -DBSD_SIG -DSIGRTN=void -DTERMIO
  51. XSYS_LIBRARIES=    -lcurses -ltermcap
  52. X#  else
  53. X#    error "I don't know what kind of system you're compiling on!
  54. X#  endif
  55. X#endif
  56. X
  57. XCDEBUGFLAGS=    -g
  58. X
  59. XSRCS=        \
  60. X        cardfile.c \
  61. X        add.c \
  62. X        change.c \
  63. X        common.c \
  64. X        compress.c \
  65. X        define.c \
  66. X        delete.c \
  67. X        dumpdb.c \
  68. X        extract.c \
  69. X        find.c \
  70. X        findrcds.c \
  71. X        fmt_chk.c \
  72. X        getkey.c \
  73. X        keymatch.c \
  74. X        maint.c \
  75. X        menu.c \
  76. X        printdb.c \
  77. X        putrcd.c \
  78. X        rawio.c \
  79. X        rbuildak.c \
  80. X        screen.c \
  81. X        setupkeys.c \
  82. X        updak.c \
  83. X        $(NULL)
  84. X
  85. XOBJS=        \
  86. X        cardfile.o \
  87. X        add.o \
  88. X        change.o \
  89. X        common.o \
  90. X        compress.o \
  91. X        define.o \
  92. X        delete.o \
  93. X        dumpdb.o \
  94. X        extract.o \
  95. X        find.o \
  96. X        findrcds.o \
  97. X        fmt_chk.o \
  98. X        getkey.o \
  99. X        keymatch.o \
  100. X        maint.o \
  101. X        menu.o \
  102. X        printdb.o \
  103. X        putrcd.o \
  104. X        rawio.o \
  105. X        rbuildak.o \
  106. X        screen.o \
  107. X        setupkeys.o \
  108. X        updak.o \
  109. X        $(NULL)
  110. X
  111. XComplexProgramTarget(cardfile)
  112. X
  113. Xcardfile.man: manual.cpp
  114. X    $(CPP) -C -P manual.cpp | sed -e '/^$$/d' > cardfile.man
  115. X
  116. Xinstall:: install.man
  117. SHAR_EOF
  118. true || echo 'restore of Imakefile failed'
  119. fi
  120. exit 0
  121. (415) 462-7000 (W)
  122.  
  123.  
  124.